
s = "{0} {0} {3} and {2} {2} {1}!".format('good','up','day','study')
print(s) # good good study and day day up!


index = "logstash-nginx-access"
today = "2019.02.04"
s = "{0}" "-" "{1}".format(index,today)
print(s)



keyword="123456"
url = '''https://github.com/search?&q="{keyword}"&type=Code'''.format(keyword=keyword)
print(url)

url2 = '''https://github.com/search?&q="{0}"&type=Code'''.format(keyword)
print(url2)
